package com.example.knowman.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.sql.Timestamp;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("\"ARCHKNOW\".\"log4operate\"")
public class log4operate extends Model<log4operate>{

    private static final long serialVersionUID = 1L;

    @TableField("\"recId\"")
    @TableId(value = "\"recId\"",type = IdType.AUTO)
    private Integer recId;

    @TableField("\"operator\"")
    private String operator;

    @TableField("\"content\"")
    private String content;

    @TableField("\"ipAddress\"")
    private String ipAddress;

    @TableField("\"createtime\"")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createtime;



}
